
import VueRouter from 'vue-router'

//在account 再配置两个子路由 login register
var router = new VueRouter({
    routes:[
        {
            path:'/account',
            component:account,
            children:[
                {path:'login',component:login}, 
                {path:'register',component:register}, 
            ]
        },
        {path:'/productlist',component:productlist}
    ]
})

export default router